package com.bigshen.springcloud.orderserviceprovider.convert;

import com.bigshen.springcloud.dto.ItemStockDto;
import com.bigshen.springcloud.orderserviceprovider.controller.dto.ItemDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface OrderConvert {

    ItemStockDto itemDto2StockDto(ItemDto itemDto);

    List<ItemStockDto> itemsDto2StockDtoList(List<ItemDto> itemDtoList);

}
